# Contributor: Camille Scholtz <onodera@openmailbox.org>
# Maintainer: Camille Scholtz <onodera@openmailbox.org>
pkgname=xtitle
pkgver=0.4.4
pkgrel=0
pkgdesc="Outputs X window titles"
url="https://github.com/baskerville/xtitle"
arch="all"
license="Unlicense"
makedepends="xcb-util-wm-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/baskerville/xtitle/archive/$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="2d597c08a1332167cba076cb0f3e2831f0c90b43f996da2e99e4232231c8b6e9f5166538a23f113c2acd32ab413f3759b391764eb34c77b328693e920178b2f0  xtitle-0.4.4.tar.gz"
